# Contributor: Steeve Chailloux <steeve@chaahk.com>
# Maintainer: Steeve Chailloux <steeve@chaahk.com>
pkgname=autocutsel
pkgver=0.10.0
pkgrel=0
pkgdesc="automated xcutsel"
url="http://www.nongnu.org/autocutsel/"
arch="all"
license="GPL-2.0"
makedepends="libx11-dev libxaw-dev"
source="https://github.com/sigmike/autocutsel/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"

builddir=$srcdir/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure --prefix=/usr --mandir=/usr/share/man
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="2d9b7114fde67ee217ceee673e32b407eef5b266a9d457a83b35d1c6227e5873cc7928aa10f7d84ce5e8c78d4940ee29985696f49b4015269584f1559f6b6d1d  autocutsel-0.10.0.tar.gz"
